rand

@JvmName(name = "randWithVarArg")
inline fun <T : Number, D : Dimension> Multik.rand(    from: T,     until: T,     vararg dims: Int): NDArray<T, D>

Returns an NDArray of the specified shape filled with number uniformly distributed between [from, until)


@JvmName(name = "randWithShape")
inline fun <T : Number, D : Dimension> Multik.rand(    from: T,     until: T,     dims: IntArray): NDArray<T, D>

Returns an NDArray of the specified shape filled with number uniformly distributed between [from, until)

Note: Float generation is inefficient.


@JvmName(name = "randSeedVarArg")
inline fun <T : Number, D : Dimension> Multik.rand(    seed: Int,     from: T,     until: T,     vararg dims: Int): NDArray<T, D>
@JvmName(name = "randSeedShape")
inline fun <T : Number, D : Dimension> Multik.rand(    seed: Int,     from: T,     until: T,     dims: IntArray): NDArray<T, D>

Returns an NDArray of the specified shape filled with number uniformly distributed between [from, until) with the specified seed.

Note: Float generation is inefficient.


@JvmName(name = "randGenVarArg")
inline fun <T : Number, D : Dimension> Multik.rand(    gen: Random,     from: T,     until: T,     vararg dims: Int): NDArray<T, D>
@JvmName(name = "randGenShape")
inline fun <T : Number, D : Dimension> Multik.rand(    gen: Random,     from: T,     until: T,     dims: IntArray): NDArray<T, D>

Returns an NDArray of the specified shape filled with number uniformly distributed between [from, until) with the specified gen.

Note: Float generation is inefficient.